package cn.fresh.xuanyuan.module.product.service.orchard;

import cn.fresh.xuanyuan.framework.common.pojo.PageParam;
import cn.fresh.xuanyuan.framework.common.pojo.PageResult;
import cn.fresh.xuanyuan.module.product.dal.dataobject.orchard.OrchardDO;
import cn.fresh.xuanyuan.module.product.vo.orchard.OrchardRespVO;
import cn.fresh.xuanyuan.module.product.vo.orchard.OrchardSaveReqVO;
import cn.fresh.xuanyuan.module.product.vo.orchard.OrchardVO;

import java.util.List;

public interface OrchardService {

    PageResult<OrchardDO> getOrchardPage(String name, String phone, PageParam pageReq);

    void save(OrchardSaveReqVO saveReqVO);

    void edit(OrchardSaveReqVO saveReqVO);

    List<OrchardRespVO> getAll();

    OrchardRespVO getDetailById(Integer id);

    List<OrchardVO> getOrchardList(PageParam pageReq);

}
